package com.yt.sys.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import com.yt.common.dto.BaseDTO;

/**
 * 权限DTO
 *
 * @author xieyanfei
 * @Date 2025-09-08 11:04:53
 */
@Data
@TableName("sys_permission")
@ApiModel(value="权限对象", description="权限对象")
public class SysPermissionDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "版本号(用于乐观锁)")
    private Integer revision;
    @ApiModelProperty(value = "权限名称")
    private String permissionName;
    @ApiModelProperty(value = "权限代码")
    private String permissionCode;
    @ApiModelProperty(value = "权限类型")
    private Integer type;
    @ApiModelProperty(value = "权限对应的URL")
    private String url;
    @ApiModelProperty(value = "状态(0:禁用,1:启用)")
    private Integer status;
}